<cfoutput>
	<h1>#teamQry.team_name#</h1>
	Select 3 players from either club...<br />
	<br />
	<cfloop query="#teamQry#">
		#teamQry.pickNo#. 
		<cfif teamQry.playerid gt 0>
			#teamQry.first_name# #teamQry.last_name# [#teamQry.playerid#]
		<cfelse>
			----
		</cfif>
		#linkTo(route='selectTeamPlayer', fixtureid=fixtureid, teamid=teamid, text='Select')#<br />
	</cfloop>		
</cfoutput>

-----

<cfoutput>
	#startFormTag(action="saveTeamPlayers")#
		#textFieldTag(label="FixtureID", name="fixtureid", value=fixtureid)#
		#textField(label="TeamID", objectName="team", property="id")#
		<br />
		<cfloop array="#team.team_players#" index="teamPlayerObject">
			#teamPlayerObject.pickNo#
			-
			 <!--- #textField(
		        label="Team Player #teamPlayerObject.pickNo# ID",
		        objectName="team",
		        association="team_players",
		        property="playerid",
		        position=teamPlayerObject.pickNo
		    )# --->

		    #select(
		    	label="Player for #teamPlayerObject.pickNo#",
		    	objectName="team",
		    	association="team_players",
		    	property="playerid",
		    	position=teamPlayerObject.pickNo,
		    	options=players
		    )#
		    <Br />
		</cfloop>
		#submitTag()#
	#endFormTag()#

</cfoutput>